/*
 * SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
 * SPDX-License-Identifier: Apache-2.0
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
.container {
  display: flex;
  gap: 0.5rem;
}

.button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.2rem 0.5rem;
  background-color: rgb(243 244 246);
  border: 1px solid transparent;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.button:disabled:not(.selected) {
  cursor: not-allowed;
  opacity: 0.5;
}

.button:not(:disabled):hover {
  background-color: rgb(229 231 235);
}

.button.selected {
  border-color: rgb(75 85 99);
}

.icon {
  width: 0.875rem;
  height: 0.875rem;
  color: rgb(75 85 99);
}

.label {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgb(55 65 81);
}

/* Dark mode styles */
@media (prefers-color-scheme: dark) {
  .button {
    background-color: rgb(55 65 81);
  }

  .button:hover {
    background-color: rgb(75 85 99);
  }

  .button.selected {
    border-color: rgb(209 213 219);
  }

  .icon {
    color: rgb(209 213 219);
  }

  .label {
    color: rgb(229 231 235);
  }
}
